@charset "UTF-8";
/* -------------------------------------------------
 * 公共部分
 * ------------------------------------------------- */
body {
  background:linear-gradient(to bottom,lightblue 0%, skyblue 50%, lightSkyBlue 100%);
  width: 100%;
  overflow-x: hidden;
  padding: 1rem 10%;
  padding-top:70px;
  padding-bottom: 0;
  box-sizing: border-box;
  font-size: .9em; }
  body .fa {
    margin-right: .3em; }
  body .info-unit {
    margin-bottom: 1rem; }
    body .info-unit h2 {
      font-weight: 700; }
    body .info-unit h3 {
      font-weight: 300; }

/* -------------------------------------------------
 * 头部部分
 * ------------------------------------------------- */


  header {
    position:fixed;
    overflow:hidden;
    display: block;
    z-index:3;}

     nav{
      position:fixed;
      top:0;
      left:0;
      right:0;
      bottom:6;
      background: skyblue;  
      height:50px;
      z-index:2;
      font-size: 16px;
    }

    .btn {
      margin: 0px;
      padding: 2px;
      transition: 0.5s;
      background-size: 200% auto;
      color: white;
     /* text-shadow: 0px 0px 10px rgba(0,0,0,0.2);*/
      box-shadow: 0 0 10px #eee;
      border-radius: 0px;
     }

    .btn:hover {
      background-position: right center; /* change the direction of the change here */
    }

    .btn-1 {
      background-image: linear-gradient(to right, lightblue 0%, skyblue 50%, lightSkyBlue 100%);
    }

    nav ul{
      overflow: hidden;
    }
    nav ul li {
        display: inline-block;
        line-height: 50px;
        float: right;
        margin-right:50px;
        height: inherit;
    }
    nav ul li a {
        line-height:40px;
        color: darkblue;
        font-weight: 550;
        vertical-align: middle;
    }
    nav ul li.logo{
        float: left;
        margin-left:50px;
    }

    nav ul li a:hover {
        color: #c81623;
    }  

  .top{
      display: none;
      position: fixed;
      right: 50px;
      bottom: 80px;
      width: 50px;
      height: 50px;
      
  }
  .top p{
      text-align: center;
      width: 100%;

  }
/* -------------------------------------------------
 * 主体部分
 * ------------------------------------------------- */
.container .side {
  position: absolute;
  width: 20rem;
  background: rgba(255,255,255,.8);
  border-radius: 30px;
  box-shadow: 0 5px 20px #bbb;
  box-sizing: border-box;
  padding: 1rem; }
  .container .side .me {
    text-align: center;
    margin-bottom: 2rem; }
    .container .side .me .portrait {
      margin: 0 auto;
      margin-bottom: 1rem;
      width: 8rem;
      height: 8rem;
      overflow: hidden;
      position: relative; }
      .container .side .me .portrait img {
        display: none;
        width: 8rem;
        height: 8rem;
        border-radius: 50%; }
  .container .side .info-unit ul li label {
    display: inline-block;
    width: 35%; }
  .container .side .info-unit ul li span {
    display: inline-block;
    vertical-align: top;
    width: 60%; }
.container article {
  position: relative;
  margin-left: 22rem;
  background: rgba(255,255,255,.8);
  border-radius: 20px;
  box-shadow: 0 5px 20px #bbb;
  box-sizing: border-box;
  padding: 1rem; }
  .container article .info-unit ul {
    box-sizing: border-box;
    padding-left: 1.2rem;
    padding-right: 0.8rem; }
    .container article .info-unit ul li {
      margin-bottom: 1rem;
      list-style: disc; }
      .container article ul li a {
        color: #4682B4;
        font-weight: 500;}
      .container article .info-unit ul li h3 .link {
        font-size: .5rem;
        border: 2px dotted lightblue;
        padding: 1px 3px;
        -webkit-border-radius: 5px;
        border-radius: 5px;
        margin-left: .5rem; }
      .container article .info-unit ul li h3 time {
        text-align: right;
        float: right; }
      .container article .info-unit ul li .info-content li {
        list-style: circle;
        margin: 0; }
      .container article .info-unit ul li .info-content .fa {
        font-size: 1em; }

/* -------------------------------------------------
 * 文档底部
 * ------------------------------------------------- */
.footer {
  width: 100%;
  margin-top: 1rem;
  height: 2rem; }
  .footer p {
    line-height: 2rem;
    text-align: center;
    font-size: 0.8rem; }

/* -------------------------------------------------
 * 自定义部分
 * ------------------------------------------------- */
.fa {
  font-size: 1.2em; }

h2 {
  font-size: 1.2em; }

h3 {
  font-size: 1.1em; }

hr {
  margin-bottom: .4em; }

aside {
  position: fixed;
  right: 0;
  top: 30%;
  z-index: 2; }
  aside ul li {
    margin-bottom: 10px;
    -webkit-border-radius: 10px 0 0 10px;
    border-radius: 19px 0 0 10px;
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
    background: skyblue; }
    aside ul li a {
      display: inline-block;
      width: 80px;
      height: 38px;
      line-height: 38px;
      padding-left: 10px;
      color: #fff; }

progress {
  background-color: lightblue;
  display: inline;
  /*width: 195px;*/
  height: 1em; }

progress::-webkit-progress-bar {
  background-color: #e0eaf0; }

progress::-webkit-progress-value {
  background-color:  skyblue; }

progress::-moz-progress-bar {
  background-color: #e0eaf0; }

progress::-moz-progress-value {
  background-color: skyblue; }

.progress-list {
  line-height: 2; }

mark {
  background: lightblue; }

@media screen and (max-width: 1169px) {
  .container .info-unit h3 span {
    display: block; }

  .container .info-unit h3 span.link {
    display: inline; }

  .container .project h3 span {
    display: inline; }

  .container .project h3 time {
    display: block; }

  .container article .info-unit ul li h3 time {
    float: none;
    text-align: left; } }

@media screen and (max-width: 1034px) {
  body {
    padding: 1rem 3%; } }

@media screen and (max-width: 640px) {
  header{display: none ;}
  }
@media screen and (max-width: 414px) {
  .container .side {
    position: static;
    width: 95%;
    margin: 0 auto; }

  .container .article {
    position: static;
    margin-left: 0;
    width: 95%;
    margin: 0 auto;
    margin-top: 1.5rem; }

  #nav-m {
    display: none;
    position: fixed;
    width: 28px;
    height: 28px;
    right: 10px;
    bottom: 20px;
    box-shadow: 0 5px 20px #bbb;
    border-radius: 50%; }

  #nav-m svg {
    width: 28px;
    height: 28px; }

  aside {
    display: none; } }

/*# sourceMappingURL=index.css.map */

/*流星背景动画*/
.container2{
    /* 绝对定位 */
/*    position: absolute;*/
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;}
.star{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background-color: #fff;
    border-radius: 50%;
    /* 发光效果 */
    box-shadow: 0 0 0 4px rgba(255,255,255,0.1),
    0 0 0 8px rgba(255,255,255,0.1),
    0 0 20px rgba(255,255,255,1);
    /* 执行动画 */
    animation: animate 3s linear infinite;
}
/* 拖尾效果 */
.star::before{
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 3px;
    background: linear-gradient(90deg,#fff,transparent);
}
/* 接下来分别为每一个流星设置位置、动画延迟时间、动画时长 */
.star:nth-child(1){
    top: 0;
    right: 0;
    /* initial关键字用于设置CSS属性为它的默认值 */
    left: initial;
    /* 动画延迟时间 */
    animation-delay: 0s;
    /* 动画时长 */
    animation-duration: 1s;
}
.star:nth-child(2){
    top: 0;
    right: 80px;
    left: initial;
    animation-delay: 0.2s;
    animation-duration: 3s;
}
.star:nth-child(3){
    top: 80px;
    right: 0;
    left: initial;
    animation-delay: 0.4s;
    animation-duration: 2s;
}
.star:nth-child(4){
    top: 0;
    right: 180px;
    left: initial;
    animation-delay: 0.6s;
    animation-duration: 1.5s;
}
.star:nth-child(5){
    top: 0;
    right: 400px;
    left: initial;
    animation-delay: 0.8s;
    animation-duration: 2.5s;
}
.star:nth-child(6){
    top: 0;
    right: 600px;
    left: initial;
    animation-delay: 1s;
    animation-duration: 3s;
}
.star:nth-child(7){
    top: 300px;
    right: 0;
    left: initial;
    animation-delay: 1.2s;
    animation-duration: 1.75s;
}
.star:nth-child(8){
    top: 0;
    right: 700px;
    left: initial;
    animation-delay: 1.4s;
    animation-duration: 1.25s;
}
.star:nth-child(9){
    top: 0;
    right: 1000px;
    left: initial;
    animation-delay: 0.75s;
    animation-duration: 2.25s;
}
.star:nth-child(10){
    top: 0;
    right: 450px;
    left: initial;
    animation-delay: 2.75s;
    animation-duration: 2.25s;
}

/* 定义动画 */
/* 背景缩放动画 */
@keyframes animateBg {
    0%,100%{
        transform: scale(1);
    }
    50%{
        transform: scale(1.2);
    }
}
/* 流星划过动画 */
@keyframes animate {
    0%{
        transform: rotate(315deg) translateX(0);
        opacity: 1;
    }
    90%{
        opacity: 1;
    }
    100%{
        transform: rotate(315deg) translateX(-1000px);
        opacity: 0;
    }
}